import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext

class Test1Iterator(mCallBack: Interceptor.CallBack) : BaseIterator(mCallBack) {
    override fun init() {
        println("init")
    }

    override suspend fun execute() {
        withContext(Dispatchers.IO){
            //todo 执行具体的任务
            println("thread:${Thread.currentThread().id}")
            println("execute")
            mResult=false
        }
    }

    override fun release() {
        println("release")
    }

}